Triggering bandwidth reservation and priority remarking

ABSTRACT

In one embodiment, a reservation proxy monitors for received connectivity check messages or beginning-of-media-flow indication messages. When either type of message is observed, the reservation proxy requests resource allocation for a media flow associated with the received message. The amount of resource allocation requested may be coordinated by exchanging messages with a call controller or policy server for one of the endpoints of the media flow, or the amount of resource allocation may be identified within the received message.

CROSS REFERENCE TO RELATED APPLICATIONS

This application claims the benefit from U.S. Provisional Patent Application No. 60/829,467 filed Oct. 13, 2006 whose contents are incorporated herein for all purposes.

TECHNICAL FIELD

The present disclosure relates generally to the field of networking.

BACKGROUND

An endpoint transferring media can reserve network resources for the media flow by sending a Resource ReSerVation (RSVP) protocol request. The endpoint typically sends a resource request in conjunction with establishing the media flow.

The RSVP protocol is not available on many endpoints, and accordingly, RSVP proxies located remotely from the endpoints have been used to send RSVP requests on behalf of endpoints. The RSVP proxies determine when RSVP requests should be initiated on behalf of an associated endpoint using methods such as stateful packet analysis. Under stateful packet analysis, the RSVP proxy analyzes packets for all media flows extending through itself. Whenever the RSVP proxy detects a new media flow, the RSVP proxy observes the flow type. The RSVP proxy then uses the flow type observation to heuristically determine resource requirements for the new flow and sends an RSVP request using the determined requirements. To ensure that resources are reserved for the lifetime of the flow, the RSVP proxies maintain state tables denoting previously analyzed flows.

The heuristically determined bandwidth requirements are frequently inaccurate and maintenance of the state tables by the RSVP proxies consumes local resources. The disclosure that follows solves these and other problems.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an example Resource ReSerVation (RSVP) proxy for triggering RSVP requests in response to Simple Traversal of User Datagram Protocol (UDP) Through Network Address Translators (NATs) (STUN) messages.

FIG. 2 illustrates an example of the RSVP proxy illustrated in FIG. 1 for requesting resource requirements from a call controller.

FIG. 3 illustrates an example router for triggering priority remarking of media packets in response to STUN messages.

FIG. 4 illustrates an example method for using the RSVP proxy illustrated in FIGS. 1-2.

FIG. 5 illustrates an example method for using the router illustrated in FIG. 3.

FIG. 6 illustrates another example of the RSVP proxy illustrated in FIG. 1.

FIG. 7 illustrates an example method of using the RSVP proxy illustrated in FIG. 6.

DESCRIPTION OF EXAMPLE EMBODIMENTS Overview

In one embodiment, a reservation proxy monitors for received connectivity check messages or other beginning-of-media-flow indication messages. When either type of message is observed, the reservation proxy requests resource allocation for a media flow associated with the received message. The amount of resource allocation requested may be coordinated by exchanging messages with a call controller or policy server for one of the endpoints of the media flow, or the amount of resource allocation may be identified within the received message.

Description

Several preferred examples of the present application will now be described with reference to the accompanying drawings. Various other examples of the invention are also possible and practical. This application may be exemplified in many different forms and should not be construed as being limited to the examples set forth herein.

The figures listed above illustrate preferred examples of the application and the operation of such examples. In the figures, the size of the boxes is not intended to represent the size of the various physical components. Where the same element appears in multiple figures, the same reference numeral is used to denote the element in all of the figures where it appears. When two elements operate differently, different reference numerals are used regardless of whether the two elements are the same class of network device.

Only those parts of the various units are shown and described which are necessary to convey an understanding of the examples to those skilled in the art. Those parts and elements not shown are conventional and known in the art.

FIG. 1 illustrates an example RSVP proxy for triggering RSVP requests in response to STUN messages.

Referring to FIG. 1, computers A and B use Interactive Connectivity Establishment (ICE) or a similar protocol so that a media path 15 can be established between them. During the initial stages of ICE, call controllers (not shown) for each of computers A and B exchange signaling messages. During a later stage of ICE, as part of a connectivity check, computer B generates a STUN request message 11 addressed to STUN server 30 located on computer A. STUN is a protocol used for Network Address Translator (NAT) discovery and for NAT binding verifications, which has also been leveraged to facilitate connectivity checks during ICE.

The RSVP proxy 1 that is located between computers A and B receives traffic exchanged between those endpoints. According to resource reservation software 5, the RSVP proxy 1 monitors received traffic to determine whether the received traffic includes a STUN request or other messages sent using a network address translator discovery protocol. The RSVP proxy 1 may use any method to identify STUN requests, such as looking for a STUN magic cookie. Although in the present example the proxy 1 is an RSVP type, in other examples a Next Steps In Signaling (NSIS) device or any other reservation proxy may be used.

The STUN request 11 is received and the RSVP proxy 1 identifies the STUN request 11B included within. The RSVP proxy 1 also examines an attached IP header 11A to determine whether the STUN request 11B is a peer-to-peer connectivity check type or another type such as a NAT binding verification.

Any method of distinguishing peer-to-peer connectivity check type STUN messages from other types may be used. In the present example, the RSVP proxy 1 observes the destination address X included in the IP header 11A, which is compared to a local table or database. When the comparison identifies that the destination address does not correspond to a public STUN server used for binding verification, the RSVP proxy 1 concludes that the STUN request 11B is sent to a peer that is configured to receive media, such as voice or video. Other methods of distinguishing the STUN request type may be used, such as filtering out STUN requests addressed to UDP port 3478, which is typically used for NAT binding verifications. When destination addresses for received STUN requests correspond to a network device that is not configured to receive media, such as a public STUN server, the STUN requests are forwarded without sending a reservation request.

Another embodiment uses STUN Indication messages, which are sent from computer B to computer A and do not elicit a STUN response. These STUN Indication messages contain the same bandwidth information, but are not part of an ICE exchange and do not elicit a connectivity check. The embodiment using STUN Indications is illustrated in FIG. 6.

Referring again to FIG. 1, when the STUN request 11B is a peer-to-peer connectivity check type, the RSVP proxy 1 checks the STUN request 11B for a bandwidth request attribute 11C. When computer B or a call controller for computer B caused the bandwidth request attribute 11C to be inserted into the STUN request 11B, the RSVP proxy 1 is able to determine an amount of bandwidth associated with the call. In other words, the resource amount is determined without requiring heuristical determination by the RSVP proxy 1. In other examples, the STUN request 11B does not include the attribute 11C and the RSVP proxy 1 uses any method of heuristically determining a required amount of bandwidth for the call, including heuristical determination based on call type.

The RSVP request 12 or another similar resource request may be sent to another RSVP proxy (not shown). In such a case, network resources are requested to be reserved by network devices such as routers located between the RSVP proxy 1 and the other RSVP proxy (not shown). Alternatively, the RSVP request 12 may instead be sent to computer A if computer A is configured with RSVP or similar protocol. In that case, network resources are requested to be reserved between the RSVP proxy 1 and the computer A.

The RSVP proxy 1 also attaches a notification attribute 11D to the STUN request 11A before forwarding the STUN request message 11. The notification attribute is added at the end of the STUN request message 11, outside an integrity-check protected portion. The notification attribute 11D notifies any other proxies located between the RSVP proxy 1 and the computer A that the STUN request message 11 has already triggered a resource reservation request. In other words, this attribute 11D may be used to prevent multiple resource reservations to be requested for a same media flow.

The RSVP proxy 1 may receive back a STUN response 13 before receiving back the RSVP response 14, depending on network congestion and other factors. When the STUN response 13 is received first, the RSVP proxy 1 may optionally store the STUN response 13 in a local memory 6 until determining whether resources are reserved.

Delayed forwarding of the STUN response 13 until receiving the RSVP response 14 is advantageous particularly in the instance when resources are not available for the RSVP request 12. In such a case, the RSVP proxy 1 determines that no resources are available and then drops the STUN response 13 without forwarding. As a result, computer B does not complete the peer-to-peer connectivity check, which disrupts the ICE exchange and prevents the media flow 15 from being established between the computers A and B. Preventing the media flow 15 when the network is too congested is helpful as an overloaded network is prevented from becoming further overloaded and potentially dropping, or causing degradation of, already established connections.

When the RSVP response 14 indicates that resources are available, the RSVP proxy 1 forwards the STUN response 13 allowing the ICE process to complete between computers A and B. As a result, media path 15 is established between computers A and B. The media path 15 uses reserved resources, so that computers A and B are assured some minimum guaranteed level of Quality of Service (QoS).

FIG. 2 illustrates an example of the RSVP proxy illustrated in FIG. 1 for requesting resource requirements from a call controller.

Referring to FIG. 2, during ICE or a similar connectivity establishment protocol, username inclusion software 15 on computer A provides, to computer B, a username pattern 21A that is associated with the call controller 8. This username pattern 21A may include an encoding of an IP address for the call controller 8 for computer A or some other value that allows RSVP proxy 1 to identify call controller 8 from other call controllers on the network. When ICE is the protocol used for connectivity establishment, the username pattern 21A may be transferred within the signaling messages 19 that are exchanged during the initial stages of ICE. In other examples, the username pattern 21A may be provided by software located on call controller 8 instead of computer A. Accordingly, when a STUN request 21 is generated by computer B, the username pattern 21A is included within STUN request 21.

The RSVP proxy 1 receives the STUN request 21 and may perform any of the processes previously described with respect to FIG. 1. Additionally, in this example the RSVP proxy 1 locates the username pattern 21A. The RSVP proxy 1 decodes the username pattern 21A to identify the IP address for call controller 8. Using the decoded IP address (or any other value that allows identification of call controller 8 from other network devices located on the network), the RSVP proxy 1 sends request 22. Request 22 solicits the call controller 8 to provide an amount of bandwidth needed to exchange media between the computers A and B.

Once the RSVP proxy 1 receives back a response 23 that identifies an amount of bandwidth required for the media exchange, an RSVP request 24 is generated. The RSVP request 24 requests resources sufficient to transfer the bandwidth amount indicated by response 23.

After sending STUN request 21 and RSVP request 24, the RSVP proxy 1 receives back STUN response 25 and RSVP response 26 in any order depending on network congestion. The STUN response 25, which may be correlated to the STUN request 21 using a STUN transaction identifier, may be temporarily stored or immediately forwarded to computer B. Once computers A and B complete ICE, a media flow 15 is established using the reserved resources.

FIG. 3 illustrates an example router for triggering priority remarking of media packets in response to STUN messages.

Referring to FIG. 3, a network device such as router 30 located between the computers A and B may also receive the STUN request 21. The router 30 may receive the STUN request 21 before or after the RSVP proxy 1 described in FIGS. 1 and 2. The router 30 may be located on a call path that does not extend through the RSVP proxy or any other reservation device. In other words, priority remarking may be used on a call that does not use reserved resources and which does not elicit reservation attempts by proxies, endpoints or other devices. Although in this example, the priority adjustment software 29 is located on router 30, in other examples the software 29 is located on any other network device that is capable of adjusting priority values included in media packets.

In response to receiving STUN request 21, the router 30 determines a value to be used in a Differentiated Services Code Point (DSCP) field or other priority field for media packets in an associated media flow. In the present example, a request 31 is made using the username pattern 21A to ask call controller 8 for the priority value. In other examples, any of the previously described methods may be used, including observing an indication of an attribute included in the STUN request 21 or using heuristical determination to identify an appropriate priority value. The router 30 receives back, in any order, a STUN response 25 and a response 32 identifying the DSCP value indication 32A that is equal to N.

After receiving the STUN response 25, a media flow 15 is established that extends through the router 30. The media flow 15 includes various media packets such as IP packet 34A. The IP packet 34A includes an IP header 34B having a DSCP value field 34C that is equal to some value such as value M.

The router observes the value M included in the DSCP value field 34C of the received IP packet 34A. The observed value M is then compared to the value N specified by the call controller 8. Accordingly, since there is a difference in this example, the router 30 formats the IP packet 34A according to the indicated DSCP value N. The router 30 then forwards the formatted IP packet 35A having IP header 35B and a DSCP field 35C set to value N.

The router 30 may perform this priority remarking on every media packet included in the media flow 15. Accordingly, when a different router (not shown) located between router 30 and computer B receives the formatted media packets, the different router processes the media packets according to the priority value N. The remarking by router 30 thus may increase or decrease the priority of the media flow 30 to better match current network congestion.

Also, this renumbering allows the packets to travel through a network for computer A at a first priority, and then travel through a network for computer B at a second priority. This may be advantageous, for example, when the different networks serve different types of traffic. For example, when the network for computer A is a network that primarily exchanges traffic of a personal nature, the media flow may receive a relatively high priority while traversing the personal network. Then, when entering a network serving primarily business traffic, the media flow 15 may be remarked by the router 30 to a different priority that is relatively low for the business network.

FIG. 4 illustrates an example method for using the RSVP proxy illustrated in FIGS. 1-2.

In block 401, the proxy 1 determines whether a received address request includes a notification that another proxy reserved resources on behalf of an endpoint associated with the address request. When the notification is not included, in block 402 the proxy 1 determines whether the address request is addressed for a connectivity check or a binding verification. Address requests that are not addressed for a connectivity check are forwarded normally in block 403A.

When the address request is addressed for a connectivity check, in block 403B the proxy 1 determines resource requirements for a call flow associated with the address request using any method. Next, in block 404 the proxy 1 sends a resource reservation request based on the determined resource requirements. The proxy 1 also attaches a notification to the address request to prevent double reservation, and then forwards the address request in block 405.

In block 406, the proxy 1 receives back a response to the address request, which may be stored until a resource reservation response is received. The proxy 1 also receives back the resource reservation response in block 407.

In block 408, the proxy 1 determines whether the resources are reserved according to the resource reservation response. When the resources are not reserved, in block 409A the proxy 1 drops the response to the address request. When the resources are reserved, in block 409B the proxy 1 forwards the response to the address request.

FIG. 5 illustrates an example method for using the router illustrated in FIG. 3.

In block 501, the router 30 determines whether a received address request is addressed for a connectivity check or a binding verification. When the received address request is not addressed for a connectivity check, in block 502A the router 30 forwards the address request normally.

When the received address request is addressed for a connectivity check, in block 502B the router 30 determines priority requirements for a call flow associated with the address request using any method and also forwards the address request. In block 503, the router 30 receives back a response to the address request. The router 30 forwards the response to the address request in block 504.

In block 505, the router 30 receives media packets for the call flow associated with the address request. The router 30 determines whether the media packets indicate the determined priority in block 506. When the media packets do not indicate the determined priority, in block 507A the router 30 formats the media packets using the determined priority value and then forwards the formatted packets. When the media packets do indicate the determined priority, in block 507B the router 30 forwards the media packets without remarking the priority indication.

FIG. 6 illustrates another example of the RSVP proxy illustrated in FIG. 1.

Referring to FIG. 6, computer B needs to establish communications with computers A and Z. To minimize network traffic and for other reasons, computer B is configured to use multicasting to establish the communications. Multicast communications are communications that are sent once, copied at an intermediary device, and then delivered to more than one endpoint (such as hundreds of endpoints or more). When multicasting is used, ICE and STUN requests and responses are not required and are generally omitted.

Since STUN requests are not available to trigger resource reservation in a multicast scenario, other types of beginning-of-media-flow indications may be used to trigger resource reservation or priority remarking. Generally, any type of message can be used as a beginning-of-media-flow indication. Types of messages that are usable as beginning-of-media-flow indications include STUN Indications, but can also include any other messages that are sent using a protocol typically known to both proxies and endpoints. In the present example, computer B is configured to multicast a STUN Indication 91A to trigger resource reservation and/or priority remarking. A STUN request is retransmitted until a STUN response is received; while a STUN Indication has no corresponding response. This makes STUN Indications suitable for large multicast groups.

RSVP proxy 1 receives the communication 91 including the STUN Indication 91A. The software 5 uses any method to determine an appropriate bandwidth value for an associated media flow, such as processing the bandwidth request attribute 91B included within the communication 91. The RSVP proxy 1 then sends one or more RSVP requests 92 used to reserve resources for media flows to the computers A and Z. The amount of resources requested in the RSVP request 92 is set according to the bandwidth request attribute 91B.

The RSVP proxy 1 may also attach a notification attribute 91C to the STUN Indication 91A before copying and forwarding the STUN Indication 91A to computers A and Z. In other examples, the RSVP proxy 1 instead forwards the STUN Indication 91A to another intermediary device that then performs the multicast processing including copying and forwarding. The attribute 91C may be used to prevent duplicate resource reservations.

Finally, computer B uses multicasting to establish a media path 109. The multicast media path 109 includes media path legs 109A and 109Z, which are established over the reserved resources.

FIG. 7 illustrates an example method of using the RSVP proxy illustrated in FIG. 6.

In block 701, the proxy 1 determines whether a received beginning-of-media-flow indication includes a notification that another proxy reserved resources on behalf of an endpoint associated with the indication. When the notification is not included, in block 702 the proxy 1 determines resource requirements for a call flow associated with the received indication using any method. Next, in block 703 the proxy 1 sends one or more resource reservation requests based on the determined resource requirements. The proxy 1 also attaches a notification to the received indication to prevent double reservation, and then forwards the indication in block 704.

In block 705, the proxy 1 may receive back one or more responses to the resource requests. In block 706, the proxy 1 processes a multicast media flow that uses the reserved resources.

The above examples are described with respect to computers establishing a call. In other examples, the methods described above may be used to reserve resources for calls between any other endpoints such as a personal computer, an IP phone, a Personal Digital Assistant (PDA), a cell phone, a smart phone, a Publicly Switched Telephone Network (PSTN) gateway, etc.

Several preferred examples have been described above with reference to the accompanying drawings. Various other examples of the invention are also possible and practical. The system may be exemplified in many different forms and should not be construed as being limited to the examples set forth above.

The figures listed above illustrate preferred examples of the application and the operation of such examples. In the figures, the size of the boxes is not intended to represent the size of the various physical components. Where the same element appears in multiple figures, the same reference numeral is used to denote the element in all of the figures where it appears.

Only those parts of the various units are shown and described which are necessary to convey an understanding of the examples to those skilled in the art. Those parts and elements not shown are conventional and known in the art.

The system described above can use dedicated processor systems, micro controllers, programmable logic devices, or microprocessors that perform some or all of the operations. Some of the operations described above may be implemented in software and other operations may be implemented in hardware.

For the sake of convenience, the operations are described as various interconnected functional blocks or distinct software modules. This is not necessary, however, and there may be cases where these functional blocks or modules are equivalently aggregated into a single logic device, program or operation with unclear boundaries. In any event, the functional blocks and software modules or features of the flexible interface can be implemented by themselves, or in combination with other operations in either hardware or software.

Having described and illustrated the principles of the invention in a preferred embodiment thereof, it should be apparent that the invention may be modified in arrangement and detail without departing from such principles. I claim all modifications and variation coming within the spirit and scope of the following claims. 

1. An apparatus, comprising: one or more processors; and a memory coupled to the processors comprising instructions executable by the processors, the processors operable when executing the instructions to: monitor received traffic to detect a communication sent using a network address translator discovery protocol; identify resource requirements that correspond to a call flow associated with the detected communication in response to detecting the communication, the resource requirements identified without requiring heuristical determination; and reserve network resources for the call flow according to the identified resource requirements; wherein the resource requirements are identified independently of heuristical determination by accessing a Simple Traversal of User Datagram Protocol (UDP) Through Network Address Translators (NATs) (STUN) attribute included in the detected communication.
 2. The apparatus of claim 1, wherein the processors are further operable to: identify a priority value that corresponds to the call flow associated with the detected communication; receive packets for the call flow, the packets having an indicated priority; format the indicated priority according to the identified priority value when the indicated priority is different than the identified priority value; and forward a representation of the packets that includes the formatted priority.
 3. The apparatus of claim 1, wherein the processors are further operable to: determine whether the detected communication is addressed to port 3478; and identify the resource requirements only when the detected communication is not addressed to port
 3478. 4. The apparatus of claim 1 wherein the processors are further operable to: determine whether the detected communication includes a notification that a remote proxy reserved bandwidth for the call flow; identify the resource requirements that correspond to the call flow when the notification is not included; and insert the notification into the communication before forwarding the communication when the notification is not included.
 5. The apparatus of claim 1 wherein the processors are further operable to: receive a first response indicating whether the network resources are reserved; receive a second response that completes a connectivity check; drop the second response when the first response indicates that the network resources are not reserved; and forward the second response when the second response is not dropped.
 6. The apparatus of claim 1, wherein the processors are further operable to: locate a representation of an address for a call controller in the detected communication; and exchange messages using the address to identify the resource requirements.
 7. The apparatus of claim 1, wherein the processors are further operable to: analyze the detected communication to determine a type of media to be exchanged over the media path; and heuristically determine the resource requirements based on the determined type of media.
 8. The apparatus of claim 1 wherein the detected communication is a STUN Indication.
 9. The apparatus of claim 8, wherein the processors are further operable to: forward the STUN Indication to a plurality of remote endpoints; and reserve network resources for a plurality of media path legs that access the remote endpoints.
 10. A computer readable medium encoded with instructions that, if executed, result in: filtering received packets according to an initial inspection process to identify ones of those received packets that contain Simple Traversal of User Datagram Protocol (UDP) Through Network Address Translators (NATs) (STUN) requests; filtering only the remaining packets that contain the STUN requests according to a subsequent inspection process to remove those ones of the remaining packets that sent for a binding request, wherein the filtered remaining packets contain STUN requests sent for connectivity checks; analyzing only any filtered remaining packets for a particular STUN attribute; and reserving bandwidth for a call flow or remarking priority values included in packets of the call flow according to the analysis.
 11. The computer readable medium of claim 10, wherein the instructions, if executed, result in: exchanging communications with a call controller according to the analysis; and reserving the bandwidth along the call path according to the exchanged communications or remarking the priority values of the packets of the call flow according to the exchanged communications.
 12. The computer readable medium of claim 10, wherein the particular STUN attribute is at least one selected from the group including bandwidth reservations and username patterns.
 13. The computer readable medium of claim 10, wherein the filtering according to the subsequent inspection filters only those ones of the packets containing STUN requests addressed to port 3478, wherein the filtered remaining packets contain STUN requests addressed to a port other than port
 3478. 14. The computer readable medium of claim 10, wherein the instructions, if executed, result in: if a bandwidth reservation request is sent for a particular one of the filtered remaining packets, delaying forwarding of the particular packet until a response to the bandwidth reservation request is received.
 15. The computer readable medium of claim 10, wherein if the priority values are remarked, the packets of the call flow are routed over a subsequent leg of the call path according to a first priority that is different than a second priority for which the packets of the call flow are routed over the initial leg of the call path. 